#ifndef TEST_DLL_H
#define TEST_DLL_H

#include <QList>
#include <QVector>
#include <QString>

struct Doc {
            QStringList title;
            QStringList text;
            QStringList ann;
        };

struct ComboboxItem {
    QString name;
    QString about;
};

struct Parameters {
            ComboboxItem name;
            /**
              * 0 - counter
              * 1 - combobox
              */
            int type;

            /* counter */
            double min;
            double max;
            double def;
            /* combobox */
            QList<ComboboxItem> Items;
        };

bool GetDist(const QList<Doc> &Docs, int Id, QVector<double> Params, QVector<QVector<double> > & Result);
bool GetItems(QList<ComboboxItem> &Items);
bool GetParams(int Id, QList<Parameters> &Params);


#endif // TEST_DLL_H
